home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2338 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: colossus.holonet.net!shpbbs!paul.kelley
  2. From: paul.kelley@busilink.com (Paul Kelley)
  3. Newsgroups: comp.lang.c
  4. Subject: Problem with ascii to number conversion.
  5. Date: Sat, 20 Jan 1996 16:43:12 GMT
  6. Message-ID: <96012012081730705@busilink.com>
  7. Organization: BusiLink
  8. Distribution: world
  9.  
  10. Hi,
  11.  i am a beginner c programmer, stuck on what i thought was a simple
  12. problem. I have an ascii input file that contains payroll info for a
  13. month, the data is monetary values as ascii strings. I am trying to
  14. convert the ascii ti numbers total the result then place in another
  15. file. I am using micrsoft quick C and the ascii to number functions in
  16. it. Apparenntly these functions only work correctly up to four digits.
  17. After that teh ouput goes wild.
  18.  Can anyone help me understand what is not corrrect? Is there any
  19. routines out there that can do this or am i looking at hardare/softare
  20. limitation?
  21.                Any suggestions input or help would subject the giver
  22.  to a profusion of thanks and positive thoughts.
  23.  
  24.                                           thanks
  25.                                        Paul.
  26.